package com.zq.recruit.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName job_position
 */
@TableName(value ="job_position")
@Data
public class JobPosition implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer companyId;

    /**
     * 
     */
    private String positionName;

    /**
     * 
     */
    private String salaryRange;

    /**
     * 
     */
    private String workLocation;

    /**
     * 
     */
    private String experienceRequired;

    /**
     * 
     */
    private String educationRequired;

    /**
     * 
     */
    private String jobDescription;

    /**
     * 
     */
    private String responsibilities;

    /**
     * 
     */
    private String requirements;

    /**
     * 
     */
    private Integer isActive;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    @TableField(exist = false)
    private String companyName;


    @TableField(exist = false)
    private String companyPath;


    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userCreateTime;


    @TableField(exist = false)
    private String fileUrl;

    @TableField(exist = false)
    private Integer deliveryRecordId;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}